package cs554.androidkids;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class TitleActivity extends Activity {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.title);
		Button ttlButt = (Button) findViewById(R.id.titlebutton);
		ttlButt.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View arg0) {
				Intent intent = new Intent();
				intent.setClassName("cs554.androidkids",
						"cs554.androidkids.AndroidKids");
				startActivity(intent);
			}
		});
	}
}